<?php
namespace app\course\event\listeners\course\admin;

use app\common\library\AMQP;
use app\common\jobs\notify\CourseNotify as CourseNotifyJob;
use app\common\library\Queue;

/**
 * 课程提醒事件
 */
class Notify
{
    public static function handle($data)
    {
        // 队列处理课程、课时提醒
        Queue::push('CourseNotify', $data, 30);
    }
}
